/**
 * 描    述: oneThink后台主体样式增加样式部分
 * 作用范围：后台独有
 */

/* 新增和编辑页面的分类和文章查看挂件 */
.header .user-bar .user-entrance{
    padding-bottom: 0; !important;
}

#content_list_ul ul {
    top: 30%;
    right: 5%;
    position: fixed;
}

#content_list_ul li {
    padding: 10px;
}

a:hover, a:focus {
    text-decoration: none;
}

.main-nav a:hover {
    color: #FFFFFF;
}

.tab-content .active {
    display: block;
}

input, button, textarea, select, option {
    font-size: small;
}

/* 表格样式 */
thead {
    color: #155c9f;
}

.data-table tbody tr:nth-child(even) {
    background-color: #eeeeee;
}

tr.color_back td {
    background: #F5FAFA;
    color: #797268;
}

th {
    font: bold "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
    color: #4f6b72;
    border-right: 1px solid #C1DAD7;
    border-bottom: 1px solid #C1DAD7;
    border-top: 1px solid #C1DAD7;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: left;
    padding: 6px 6px 6px 12px;
    background: #CAE8EA;
}

td {
    border-right: 1px solid #C1DAD7;
    border-bottom: 1px solid #C1DAD7;
    padding: 6px 6px 6px 12px;
    color: #4f6b72;
}

.btn-onechat-default{
    background-color: #dddddd;
    color: #666666;
}
.btn-onechat-small{
    padding: 5px 10px;
    font-size: 10px;
}
.btn-group .dropdown a, .btn-group-click .dropdown a {
    font-size: 14px;
}

ul .dropdown, ol .dropdown {
    margin: 0;
}

/*标签样式*/
.tags {
    margin-top: 15px
}
.tags .tag {
    padding: 10px 15px;
    background-color: #C0EBEF;
}
.tags .tag .badge{
    margin-left: 10px;
}

/* 特色内容栏目样式 */

#feature_icons {
}

#feature_icon_box {
    width: 480px;
}

#feature_list {
}

#categoryList, #articleList {
    background-color: #DDD;
    border: 1px solid #ccc;
    border-radius: 3px;
    color: #333;
    font: 12px/20px "MicroSoft YaHei", "Courier New", "Andale Mono", monospace;
    margin-left: 10px;
    padding: 5px 10px;
    line-height: 1.5em;
    word-wrap: break-word;
}

#articleList {
    overflow: scroll;
    height: 400px;
}

#categoryList ul li {
    display: block;
    border-bottom: 1px solid #ecede8;
    color: #666;
    padding: 10px 5px;
    overflow: hidden;
}

#categoryList ul li:last-child {
    border-bottom: 0;
}

#categoryList ul li:hover {
    background-color: #ecede8;
}

/*主题模板管理样式*/

.themeList {
    margin-bottom: 15px;
}

.themeInfo {
    border: 1px solid #DDDDDD;
    padding: 5px;
}

.themeInfo h2 {
    border-bottom: 1px solid #DDDDDD;
    color: #353535;
    font-size: 1.5em;
    margin: 15px 0;
    padding: 0 20px;
}

.themeInfo p {
    color: #8D8D8D;
    padding: 0 20px;
}

.themeInfo p span {
    margin: 10px auto;
}

/*特色内容管理样式*/
.feature-items .add-on {
    top: 0;
    right: 0;
}

.feature-items ol {
    list-style: decimal;
}

.feature-items select {
    height: 30px;
    line-height: 30px;
}

/* 会员资料页面样式*/
.headimg-pre-item {
    border: 1px solid #ccc;
    cursor: pointer;
    max-height: 120px;
    overflow: hidden;
    padding: 1px;
    text-align: center;
    transition: all 0.3s linear 0s;
    width: 120px;
}

.btn {
    background-image: none;
    text-shadow: none
}

.btn-primary {
    background-color: #006dcc
}

.btn-primary:hover {
    background-color: #21a0cc
}

.btn-warning {
    background-color: #cc8800
}

.btn-waring:hover {
    background-color: #ccb208
}

.btn-danger {
    background-color: #cc0000
}

.btn-danger:hover {
    background-color: #cc4400
}

.btn-toolbar {
    font-size: 1em
}

.form-horizontal .controls {
    margin-left: 0
}

select, textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input {
    margin-bottom: 0;
}

.gallery ul li {
    padding: 20px;
    display: inline-block;
    margin: 5px;
}

.gallery a:hover {
    color: rgb(255, 255, 255) !important;
}

.button-primary {
    background-color: #008DB2;
}

.button-action {
    background-color: #6B9C00
}

.button-highlight {
    background-color: #D87E04
}

.button-caution {
    background-color: #CC00FF)
}

/* 相册样式 */
.Board {
    float: left;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    font-size: 12px;
    padding: 15px 15px 0;
    width: 230px;
    list-style-type: none;
    background-color: #f8f8f8;
    color:#666;
    margin: 15px;
    text-align: left;
}
.Board .board-img .large img{
    display: block;
    width: 100%;
}
.Board .board-img .small img{
    padding: 2% 0 0 2%;
    width: 30%;
}
.Board .board-text h3{
    font-size: 14px;
}
.Board .board-text .board-meta{
    padding:15px 0;
    border-top: 1px #ddd solid;
}

#upload-box{

}
#upload-box .uploadify-button{
background-color:#4bbd00;
}
#upload-box .uploadify-button .uploadify-button-text:before{
    content: '+'
}
#upload-box #upload-area{
    float: left;
    width: 40%;
}
#upload-box #upload-area .picture-show{
    width: 100%;
    margin-top: 5px;
    min-height: 250px;
    border: 1px solid #dddddd;
}
#upload-box #upload-area .picture-show p{
    text-align: center;
}
#upload-box #upload-area .picture-show p:first-child{
    padding-top: 100px;
}
#upload-box .meta-area{
    float: right;
    width: 55%;
}
#upload-box .meta-area .meta-left{
    float: left;
    width: 49%;
}
#upload-box .meta-area .meta-right{
    float: right;
    width: 49%;
}

.album-image-box{
    width: 236px;
    float:left;
    margin: 15px 0 15px 15px;
    border: 1px #dddddd solid;
}
.album-image-box .image-pic{
    background-color: #383838;
    width: 100%;
    max-height: 150px;
    overflow: hidden;
}

.album-image-box .image-pic .check-box{
    position: relative;
    top: 15px;
    left: 15px;
    height: 50px;
    width: 50px;
}
.album-image-box .image-pic .uncheck{
    background-image: url("../images/onechat/image-uncheck.png");
    background-size: cover;
    opacity: 0.3;
}
.album-image-box .image-pic .checked{
    background-image: url("../images/onechat/image-checked.png");
    background-size: cover;
    opacity: 1;
}
.album-image-box .image-pic img{
    margin-top: -50px;
    width: 100%;
    min-height: 150px;
}

.album-image-box .image-title,.album-image-box .image-meta{
    margin: 15px;
    font-size: 16px;
    color:#666666;
}
.album-image-box .image-meta{
    height: 200px;
    font-size: 12px;
}
.album-image-box .image-meta .image-description{
    max-height: 100px;
    overflow-y: scroll;
}
.operation-btn-box{
    margin: 10px 0;
}

/* 遮罩框样式 */
#dialog {
    background-color: #fff;
    border: 5px solid rgba(0, 0, 0, 0.4);
    height: 400px;
    left: 50%;
    margin: -200px 0 0 -200px;
    padding: 1px;
    position: absolute;
    top: 50%;
    width: 600px;
    z-index: 5;
    border-radius: 5px;
    display: none;
    overflow: scroll;
}

#dialog p {
    margin: 0 0 12px;
    height: 24px;
    line-height: 24px;
    background: #CCCCCC;
}

a.edit-icon {
    display: block;
    width: 20px;
    height: 20px;
    background: url(../images/bg_icon.png) no-repeat -151px -24px;
}

a.edit-icon:hover {
    background: url(../images/bg_icon.png) no-repeat -175px -24px;
    text-decoration: none;
}